<?php
/**
 * Created by PhpStorm.
 * User: denh
 * Date: 17/1/4
 * Time: 上午10:37
 */
class FmController extends BaseController {
    function __construct($m = DEFAULT_CONTROLLER, $a = DEFAULT_METHOD) {
        parent::__construct($m, $a);
    }

    function __destruct() {
        if (is_file($this->template)) {
            require_once $this->template();
        }
        parent::__destruct();
    }

}